package service;

import org.apache.ibatis.annotations.Param;
import pojo.Image;

import java.util.List;


public interface ImageService {

    //添加
    int insert(Image image);
    //删除图片
    int deleteImagebyname(String imageName);

    //查询用户发布的图片
    List<Image> getImageMap(@Param("userid") String userid);
    int getImageCount();
    //得到所有imagelist
    List<Image> getallImageMap();
}
